﻿<%@ Control Language="C#" Inherits="Web.Control.WWW.Wiki.Tags" %>
<asp:Literal ID="lUsers" Text="5" runat="server" Visible="false"/>
<asp:Literal ID="lCount" Text="100" runat="server" Visible="false"/>
<asp:Literal ID="lDLearn" Text="" runat="server" Visible="false"/>
<asp:Literal ID="lDBaseL" Text="" runat="server" Visible="false"/>
<div class="common">
<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><%if(Learn!=""&&BaseL!=""){ %>
							<%=GetText("C0105",new string[]{GetLanguageText(Learn)})%>, 
							<%=GetText("C2019",new string[]{GetLanguageText(BaseL)})%>
							<%}else{ %>
							<%=GetText("WK016")%>
							<%} %></h1>
								<div class="grey12"><%=GetText("WK064")%></div>
							</div>
							<div class="submenuN_button" style="top:25"><%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm){%><a href="/knowledge/edit.htm" class="Naddbtn btnspec" style="text-decoration:none"><%}else{ %><a href="#" onclick="NotAffirm()" class="Naddbtn btnspec" style="text-decoration:none"><%} %><span><%=GetText("WK004")%></span></a></div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="Center9001Right">
						<div class="Center9001Content">
							<div class="knowedge_area">
								<%if (Learn != "" && BaseL != "")
								{ %>
								<h3 style="border-bottom:1px #ccc solid; padding-bottom:3px; margin-bottom:20px"><%=GetText("WK016")%></h3>
								<%} %>
								<div>
									<ul class="wiki_tagPage">
										<asp:Repeater ID="rptLB" runat="server">
										<ItemTemplate>
										<li><span class="text14"><a href="/knowledge/selecttags-1-<%#Learn%>-<%#BaseL%>-<%#HttpUtility.UrlEncode(Eval("Name").ToString())%>.htm">
										<%#HttpUtility.HtmlEncode(Eval("Name").ToString())%></a></span> 
										<span class="grey12">(<%#Eval("UsedCount")%>)</span></li>
										</ItemTemplate>
										</asp:Repeater>
										<%if (rptLB.Items.Count == 0)
										{%>
										<li><%=GetText("WK005")%></li>
										<%} %>
									</ul>
									<div class="clear"></div>
								</div>
								<div class="page_num">
									 <%=CreatePageNav(RecordCount, int.Parse(lCount.Text), PageIndex, 
										"",string.Format("<span class='page_none grey10'><a href='/knowledge/tags-$I$-{0}-{1}.htm'>{2}</a></span>&nbsp;",Learn,BaseL,HttpUtility.UrlEncode(GetText("..."))),
										"",
										string.Format("<span class='page_none grey10'><a href='/knowledge/tags-$I$-{0}-{1}.htm'>{2}</a></span>&nbsp;",Learn,BaseL,HttpUtility.UrlEncode(GetText("..."))),
										string.Format("<span class='page_select'>{0}</span>&nbsp;",PageIndex),
										string.Format("<span class='page_none grey10'><a href='/knowledge/tags-$I$-{0}-{1}.htm'>$I$</a></span>&nbsp;",Learn,BaseL))%>
								</div>
							</div>
						</div>
					</div>
					<div class="Center9001Left">
						<div class="right_layerA">
							<div class="layer_contentA"><h4><%=GetText("WK010")%></h4>
								<div class="layer_contentA5">
									<asp:Repeater ID="rptUsers" runat="server">
									<ItemTemplate>
									<div class="margin10">
										<div class="pic50 floatl wid65"><a class="photo_50" href="/<%#Eval("Username") %>.htm" title="<%#HttpUtility.HtmlAttributeEncode(Eval("NickName").ToString()) %>"><%#Eval("Image").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Image", "<img src=\"{0}\" />").ToString()%></a></div>
										<div class="floatr wid120"><a href="/<%#Eval("Username") %>.htm"><%#HttpUtility.HtmlEncode(Eval("NickName").ToString())%></a><br /><%#Eval("ConCreatores") %> <%=GetText("WK100")%></div>
										<div class="clear"></div>
									</div>
									</ItemTemplate>
									</asp:Repeater>
									<%if (rptUsers.Items.Count == 0){%>
									<%=GetText("WK005")%>
									<%} %>
									<%if (rptUsers.Items.Count >= int.Parse(lUsers.Text)){%>
									<p align="right"><a href="/knowledge/allcontributors.htm"><%=GetText("C0040")%></a></p>
									<%}%>
								</div>
							</div>
						</div>
						<div class="right_layerA">
							<div class="layer_contentA"><img src="/Images/icon_tips.gif" align="absmiddle" /> <strong><a href="/knowledge/wiki-How+to+edit+the+italki+wiki1.htm">How do I edit italki wiki?</a></strong>
							</div>
						</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
		<div id="body_right">
		</div>
		<div class="clear"></div>
		</div>
	</div>
</div>